package edu.hrbu.redis01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 徐登宇
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    private String userPhone;

    private Integer goodsCount;

}
